package com.hsteach.dao.mapper.todothings;

import com.hsteach.dao.domain.todothings.Todothings;

import java.util.List;

/**
 * 待办Mapper接口
 * 
 * @author fanxquer
 * @date 2023-12-22
 */
public interface TodothingsMapper 
{
    /**
     * 查询待办
     * 
     * @param id 待办主键
     * @return 待办
     */
    public Todothings selectTodothingsById(Long id);

    /**
     * 查询待办列表
     * 
     * @param todothings 待办
     * @return 待办集合
     */
    public List<Todothings> selectTodothingsList(Todothings todothings);

    /**
     * 查询待办列表
     *
     * @param todothings 待办
     * @return 待办集合
     */
    public List<Todothings> getTodothingsList(Todothings todothings);

    /**
     * 新增待办
     * 
     * @param todothings 待办
     * @return 结果
     */
    public int insertTodothings(Todothings todothings);

    /**
     * 修改待办
     * 
     * @param todothings 待办
     * @return 结果
     */
    public int updateTodothings(Todothings todothings);

    /**
     * 删除待办
     * 
     * @param id 待办主键
     * @return 结果
     */
    public int deleteTodothingsById(Long id);

    /**
     * 批量删除待办
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTodothingsByIds(Long[] ids);
}
